#ifndef _GLTEXT_H_
#define _GLTEXT_H_

#include <windows.h>
#include <gl/gl.h>

class glText  // displaying 2d text in Opengl
{
public:	
  glText(int w, int h);
  ~glText(){}

  void buildFont(HDC ghdc);  
  void print(float x, float y, const char *fmt, ...);
  void killFont(void);

private:
  void screenPosition( float x, float y );
 
  int m_screenHeight;
  int m_screenWidth;

  // For text on screen
  GLuint	m_base;							// Base Display List For The Font Set  
};


#endif  // _GLTEXT_H_